<script>
/*
 * @Author: wzh 
 * @Date: 2020-12-18 01:32:37 
 * @Last Modified by: 1521620993@qq.com
 * @Last Modified time: 2020-12-18 01:36:12
 */
</script>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>07-分页</title>
</head>
<body>
  <style>
    div{
      font-size: 0;
    }
    div a{
      display: inline-block;
      width: 30px;
      height: 30px;
      border: 1px solid blue;
      text-align: center;
      line-height: 30px;
      text-decoration: none;
      font-size: initial;
      margin: 5px;
    }
  </style>
  <div>
    <a href="">1</a>
    <a href="">2</a>
    <a href="">3</a>
    <a href="">4</a>
    <a href="">5</a>
    <a href="">6</a>
    <a href="">7</a>
    <a href="">8</a>
    <a href="">9</a>
    <a href="">10</a>
  </div>
</body>
</html>